package com.smart.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smart.model.domain.AccessDO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhanghong
 */
@Repository
public interface AccessMapper extends BaseMapper<AccessDO> {
    AccessDO selectDOById(Long Id);
    List<AccessDO> selectDOList(AccessDO access);
    int insertDO(AccessDO access);
    int batchInsertDO(List<AccessDO> accessDOList);
    int updateDO(AccessDO access);
    int deleteDOById(Long Id);
    int deleteDOByIds(String[] Ids);
}
